<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>
        {% block title %}
        {% endblock %}
    </title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
    <link href="https://cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.css" rel="stylesheet">
    <script src="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>

</head>
<body>
<div class="container">
    <div class="row">
        <nav class='navbar navbar-default' role="navigation">

            <div class='navbar-header'>
                <button class='navbar-toggle' type='button' data-toggle='collapse' data-target='.navbar-ex1-collapse'>
                    <span class='sr-only'>切换导航栏</span>
                    <span class='icon-bar'></span>
                    <span class='icon-bar'></span>
                    <span class='icon-bar'></span>
                </button>
                <a class='navbar-brand' href='#toppage'><strong>PFS 问题反馈系统</strong></a>
            </div>

            <div class='collapse navbar-collapse navbar-ex1-collapse' id='collapse'>
                <ul class="nav navbar-nav">
                    <li class="active"><a href="{{ url_for('index') }}">首页</a></li>
                    <li class="dropdown">
                        <a href="" class="dropdown-toggle" data-toggle="dropdown">反馈管理 <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="{{ url_for('feedback_list') }}" class="">问题列表</a></li>
                            <li><a href="{{ url_for("reg_user") }}" class="">拨插视图</a></li>
                            <li><a href="{{ url_for("articles.article_list") }}" class="">蓝图模块</a></li>
                            <li><a href="" class="">用户退出</a></li>
                        </ul>
                    </li>
                </ul>

                <ul class='nav navbar-nav navbar-right'>
                    <li><a href='#who'>用户：{{ session['admin'] if session['admin'] else '未登录'}}</a></li>
{#                    <li><a href='#who'>Cookie用户：{{ request.cookies.get('username') if request.cookies.get('username') else '未登录'}}</a></li>#}
                    <li class="dropdown">
                        <a href="" class="dropdown-toggle" data-toggle="dropdown">系统管理 <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="{{ url_for('login') }}" class="">管理登录</a></li>
                            <li><a href="{{ url_for("reg_admin") }}" class="">管理注册</a></li>
                            <li><a href="{{ url_for("logout") }}" class="">管理退出</a></li>
                        </ul>
                    </li>
                </ul>
            </div>

        </nav>
    </div>
    <div class="row">
        <ul class="breadcrumb">
            <li><a href="/" class="">首页</a></li>
            <li class="active">问题反馈</li>
        </ul>
    </div>
    {% block main_content %}
    {% endblock %}
    <div class="row">
        <div class="well text-center">
            &copy;长江路社区卫生服务中心 信息科 版权所有 <a href="" class=""></a>
        </div>
    </div>
</div>
</body>
</html>
